package com.k2data.k2app.mapper;

import com.k2data.k2app.domain.po.*;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by k2data on 17-12-11.
 */
@Mapper
@Repository
public interface SysTreeMapper {

    List<PointTree> getPoints(long deviceId);

    List<DeviceTree> getDevices(long customerNo,long equipmentId);

    List<DeviceTree> getDevicesTcs(String customerId);

    //根据客户-设备表查询客户下的设备
    List<DeviceTree> getS8000Devices(long customerId,long equipmentId);
    List<DeviceTree> getTcsDevices(long customerId);

    List<EquipmentTree> getEquipment(long customerId);

    List<CustomerTree> getCustomer(long groupId,long userId);

    List<CustomerTree> getCustomerAdmin(long groupId);

    List<AgroupTree> getGroup();

}
